﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Protocol.dto
{
    [Serializable]
    public class UserDTO
    {
        public int ID;                  //用户ID
        public int AccountID;           //账号ID
        public string Name;             //用户名
        public int Level;               //等级
        public int Exp;                 //经验值
        public int WinCount;            //胜利次数
        public int LoseCount;           //失败次数
        public int RunCount;            //逃跑次数
        public int[] HeroList;          //拥有的英雄    
        public UserDTO()
        {

        }

        public UserDTO(int id,int accountID,string name,int level,int exp,int win,int lose,int run,int[] heroList)
        {
            this.ID = id;
            this.AccountID = accountID;
            this.Name = name;
            this.Level = level;
            this.Exp = exp;
            this.WinCount = win;
            this.LoseCount = lose;
            this.RunCount = run;
            this.HeroList = heroList;
        }
    }
}
